<div class="hockies view">
<h2><?php  __('Hocky');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hocky['Hocky']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Namhoc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($hocky['Namhoc']['id'], array('controller' => 'namhocs', 'action' => 'view', $hocky['Namhoc']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenhocky'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hocky['Hocky']['tenhocky']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybatdau'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hocky['Hocky']['ngaybatdau']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayketthuc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hocky['Hocky']['ngayketthuc']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hocky['Hocky']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Hocky', true), array('action' => 'edit', $hocky['Hocky']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Hocky', true), array('action' => 'delete', $hocky['Hocky']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $hocky['Hocky']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Hockies', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hocky', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Namhocs', true), array('controller' => 'namhocs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Namhoc', true), array('controller' => 'namhocs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dvutsvs', true), array('controller' => 'dvutsvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dvutsv', true), array('controller' => 'dvutsvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaicdsvs', true), array('controller' => 'loaicdsvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaicdsv', true), array('controller' => 'loaicdsvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phanloaisvs', true), array('controller' => 'phanloaisvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phanloaisv', true), array('controller' => 'phanloaisvs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Dvutsvs');?></h3>
	<?php if (!empty($hocky['Dvutsv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Hocky Id'); ?></th>
		<th><?php __('Songuoidongy'); ?></th>
		<th><?php __('Songuoithamgiabau'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hocky['Dvutsv'] as $dvutsv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dvutsv['id'];?></td>
			<td><?php echo $dvutsv['sinhvien_id'];?></td>
			<td><?php echo $dvutsv['hocky_id'];?></td>
			<td><?php echo $dvutsv['songuoidongy'];?></td>
			<td><?php echo $dvutsv['songuoithamgiabau'];?></td>
			<td><?php echo $dvutsv['duyet'];?></td>
			<td><?php echo $dvutsv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'dvutsvs', 'action' => 'view', $dvutsv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'dvutsvs', 'action' => 'edit', $dvutsv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'dvutsvs', 'action' => 'delete', $dvutsv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $dvutsv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Dvutsv', true), array('controller' => 'dvutsvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Loaicdsvs');?></h3>
	<?php if (!empty($hocky['Loaicdsv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Xeploai Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Hocky Id'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hocky['Loaicdsv'] as $loaicdsv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $loaicdsv['id'];?></td>
			<td><?php echo $loaicdsv['xeploai_id'];?></td>
			<td><?php echo $loaicdsv['chidoansv_id'];?></td>
			<td><?php echo $loaicdsv['hocky_id'];?></td>
			<td><?php echo $loaicdsv['duyet'];?></td>
			<td><?php echo $loaicdsv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'loaicdsvs', 'action' => 'view', $loaicdsv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'loaicdsvs', 'action' => 'edit', $loaicdsv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'loaicdsvs', 'action' => 'delete', $loaicdsv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $loaicdsv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Loaicdsv', true), array('controller' => 'loaicdsvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phanloaisvs');?></h3>
	<?php if (!empty($hocky['Phanloaisv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Xeploai Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Hocky Id'); ?></th>
		<th><?php __('Diemrenluyen'); ?></th>
		<th><?php __('Diemtbhk'); ?></th>
		<th><?php __('Thanhtich'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hocky['Phanloaisv'] as $phanloaisv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phanloaisv['id'];?></td>
			<td><?php echo $phanloaisv['xeploai_id'];?></td>
			<td><?php echo $phanloaisv['sinhvien_id'];?></td>
			<td><?php echo $phanloaisv['hocky_id'];?></td>
			<td><?php echo $phanloaisv['diemrenluyen'];?></td>
			<td><?php echo $phanloaisv['diemtbhk'];?></td>
			<td><?php echo $phanloaisv['thanhtich'];?></td>
			<td><?php echo $phanloaisv['ghichu'];?></td>
			<td><?php echo $phanloaisv['duyet'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phanloaisvs', 'action' => 'view', $phanloaisv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phanloaisvs', 'action' => 'edit', $phanloaisv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phanloaisvs', 'action' => 'delete', $phanloaisv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phanloaisv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phanloaisv', true), array('controller' => 'phanloaisvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
